<!doctype html> 
<html ng-app='text'> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
    <script type="text/javascript" src='angular.js'></script>
    <script type="text/javascript">

    var app = angular.module('text',[]);
    app.directive('leo',function (){
    	var json = {
    		'restrict':'C',
    		'template':'<span>21131231</span>'
    	};
    	return json;
    })
    </script>
</head>
<body>
<div class='leo'></div>
<div class='leo leo2'></div>
</body>
</html>